electric pain measurement